package com.tmeone.erpone.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tmeone.erpone.entity.TVehicle;

import java.util.List;

public interface ITVehicleService extends IService<TVehicle> {
    //车牌号查询
    List<TVehicle> vehicleByNumberPlate();

    //分页
    IPage<TVehicle> getPageVehicle(IPage<TVehicle> page);

    //条件查询的分页
    IPage<TVehicle> pageVehicleNameId(IPage<TVehicle> page,String input1,String input2);

    //添加
    TVehicle addVehicle(String vehicleId,String vehicleName,String logisticsId,String[] driverId,String numberPlate,String vehicleType,
                        String driverSize,String remarks);
}
